package service.position;

import java.util.List;

import vo.PositionVO;
import dao.position.PositionDAO;

public class PositionServiceImpl implements PositionService{

	private PositionDAO positionDAO;

	public void setPositionDAO(PositionDAO positionDAO) {
		this.positionDAO = positionDAO;
	}

	@Override
	public List<PositionVO> getPositionList() throws Exception {
		return positionDAO.getPositionList();
	}

	@Override
	public void registerPosition(String position_name) throws Exception {
		positionDAO.registerPosition(position_name);
	}

	@Override
	public void updatePosition(PositionVO param) throws Exception {
		positionDAO.updatePosition(param);
	}

	@Override
	public void deletePosition(int position_no) throws Exception {
		positionDAO.deletePosition(position_no);
	}
}
